/**
 * Create On 2013-6-21
 */
package beans.enum0;

/**
 * @author Jert
 * 
 */
public enum Resources
{
	a00("查看", "首页"), //
	a01("查看", "用户"), //
	a02("查看", "机构"), //
	a03("查看", "柜台");

	private String memo;

	private String name;

	public String getMemo()
	{
		return memo;
	}

	public void setMemo(String memo)
	{
		this.memo = memo;
	}

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	private Resources(String name, String memo)
	{
		this.name = name;
		this.memo = memo;
	}

	@Override
	public String toString()
	{
		return this.name + " : " + this.memo;
	}

	public static void main(String[] args)
	{
		for (Resources r : Resources.values())
		{
			System.out.println(r.toString());
		}
	}
}
